import { Button } from "antd"

import { useLocale } from "@/locales"

const ConfirmButton = (props: any) => {
	const { formatMessage } = useLocale()
	return <Button {...props}>{formatMessage({ id: "label.confirm" })}</Button>
}

export default ConfirmButton
